#include "sc_ui.h"
#include "SCGUI/sc_gui.h"
#include "test_img/bg_11.h"

SC_tile pfb= {0};     //

void scgui_test(void)
{
    static uint8_t task=1;
    static uint16_t xi=0;

    SC_arc arc;
    SC_tile chart;

    arc.cx=100;
    arc.cy=40;
    arc.r=20;
    arc.ir=10;

    chart.xs=0;
    chart.ys=0;
    chart.w=160;
    chart.h=80;


    gui->bkc= 0;
	
    while(0)
	{
        SC_pfb_clip(&pfb,0,0,LCD_SCREEN_WIDTH-1,LCD_SCREEN_HEIGHT-1,gui->bkc);
		SC_pfb_DrawArc(&pfb,&arc,0+xi,10+xi, C_BLUE, C_WHITE);           //圆环
		SC_label label;
		SC_set_label(&label,0,0+xi/4,160,30,"1234567890:.",STR_ALIGN_LEFT);
		extern lv_font_t DS_14;
		extern  lv_font_t lv_font_14;
		SC_pfb_label(&pfb,&label,0,3,C_GREEN_YELLOW,gui->bkc,&DS_14);
		SC_pfb_Refresh(&pfb,0);
		
		//xi++;
	
		
	}
	
	do
	{
        SC_pfb_clip(&pfb,0,0,LCD_SCREEN_WIDTH-1,LCD_SCREEN_HEIGHT-1,gui->bkc);                      //任意尺寸PFB

		SC_pfb_DrawArc(&pfb,&arc,0+xi,10+xi, C_BLUE, C_WHITE);           //圆环

		SC_pfb_RoundBar(&pfb,0,0,100,12,5,5,C_WHITE,C_BLUE,xi%100,100);  //水平进度条
		
        SC_pfb_RoundFrame(&pfb,0,20,60,60,10,5, C_WHITE, C_BLUE);   //圆角矩形

		SC_label label;
        SC_set_label(&label,80,10+xi%160,80,30,"123456",STR_ALIGN_CENTER|STR_SHOW_BORDER2);
        extern lv_font_t DS_14;
        SC_pfb_label(&pfb,&label,0,3,C_RED,gui->bkc,&DS_14);
	   SC_pfb_printf(&pfb,30,20+xi/2,"SC_GUI_PFB",C_RED,C_WHITE, gui->font);  //字体

       SC_pfb_chart(&pfb,&chart,3,3,20-xi%40,C_RED,C_WHEAT);      //波形图

    }while(SC_pfb_Refresh(&pfb,0)&& 1);         //分帧刷新
	
	xi=(xi+16)%360;
}

const unsigned char t_png[] =
{
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0x64, 0xaa, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9e, 0xff, 0xc6, 0xb2, 0xc5, 0xb2, 0x85, 0xaa, 0x45, 0x9a, 0x44, 0x9a, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0x65, 0xaa, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc5, 0xb2, 0xc6, 0xb2, 0xc5, 0xb2, 0xa5, 0xaa, 0x85, 0xa2, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xd4, 0xdd, 0xa5, 0xaa, 0xc5, 0xb2, 0xc6, 0xb2, 0x85, 0xaa, 0x44, 0x9a, 0x24, 0x9a, 0x24, 0x92, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x64, 0xaa,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x65, 0xa2, 0xa5, 0xaa, 0xc6, 0xb2, 0xc5, 0xb2, 0xa5, 0xaa, 0x65, 0xa2, 0x45, 0x9a, 0x7d, 0xf7, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0x85, 0xa2, 0xa5, 0xaa, 0xa5, 0xaa, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x24, 0x92, 0x24, 0x92, 0x04, 0x92, 0xff, 0xff, 0xfa, 0xee, 0x86, 0xaa, 0x86, 0xa2, 0x65, 0xa2,
    0x45, 0xa2, 0x25, 0x9a, 0x24, 0x9a, 0x65, 0xa2, 0xff, 0xff, 0x44, 0x9a, 0x45, 0x9a, 0x65, 0xa2, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x45, 0x9a, 0x44, 0x9a, 0x24, 0x9a, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0x16, 0xde, 0x65, 0xa2, 0x65, 0xa2, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x04, 0x8a, 0xc7, 0xb2, 0xe6, 0xaa, 0xc6, 0xaa, 0xc6, 0xaa, 0x86, 0xaa, 0x85, 0xa2,
    0x65, 0xa2, 0x45, 0xa2, 0x24, 0x9a, 0x04, 0x9a, 0x04, 0x92, 0xe4, 0x91, 0x04, 0x9a, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x24, 0x92, 0x24, 0x92, 0xdf, 0xff, 0xff, 0xff,
    0xff, 0xff, 0x65, 0x9a, 0x44, 0x9a, 0x44, 0x9a, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0xe6, 0xaa, 0xe6, 0xaa, 0xc7, 0xb2, 0xc7, 0xb2, 0xc6, 0xaa, 0xc6, 0xaa, 0xa6, 0xaa, 0x86, 0xa2,
    0x65, 0xa2, 0x45, 0xa2, 0x45, 0x9a, 0x24, 0x9a, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0x04, 0x8a, 0x04, 0x8a, 0xac, 0xab, 0xff, 0xff,
    0xff, 0xff, 0x8a, 0xb3, 0x24, 0x92, 0x24, 0x92, 0x42, 0x71, 0x42, 0x71, 0x42, 0x71, 0xc6, 0xaa, 0xc6, 0xaa, 0xc7, 0xb2, 0xc7, 0xb2, 0xc7, 0xb2, 0xe6, 0xaa, 0xc6, 0xaa, 0xc6, 0xaa, 0xa6, 0xa2,
    0x85, 0xa2, 0x65, 0xa2, 0x45, 0x9a, 0x24, 0x9a, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0x42, 0x71, 0x42, 0x71, 0xe4, 0x89, 0xe4, 0x89, 0x79, 0xe6, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0x24, 0x92, 0x04, 0x92, 0x42, 0x79, 0x42, 0x71, 0x86, 0xa2, 0xa6, 0xaa, 0xc6, 0xaa, 0xc6, 0xaa, 0xc7, 0xb2, 0xc7, 0xb2, 0xc7, 0xb2, 0xc6, 0xaa, 0xc6, 0xaa, 0xa6, 0xaa,
    0x86, 0xa2, 0x65, 0xa2, 0x45, 0x9a, 0x45, 0x9a, 0x04, 0x9a, 0x04, 0x92, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0x83, 0x79, 0xe3, 0x89, 0xe3, 0x89, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0x04, 0x8a, 0xe4, 0x89, 0xe4, 0x89, 0x65, 0x9a, 0x85, 0xa2, 0xa6, 0xa2, 0xc6, 0xaa, 0xc6, 0xaa, 0xc7, 0xb2, 0xc7, 0xb2, 0xc7, 0xb2, 0xc6, 0xaa, 0xc6, 0xaa, 0xa6, 0xaa,
    0xa6, 0xa2, 0x85, 0xa2, 0x65, 0xa2, 0x45, 0x9a, 0x24, 0x9a, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x89, 0xc3, 0x81, 0xc3, 0x89, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe3, 0x89, 0x45, 0x9a, 0x65, 0x9a, 0x65, 0xa2, 0x86, 0xa2, 0xc6, 0xaa, 0xc6, 0xaa, 0xc6, 0xaa, 0xc7, 0xb2, 0xc7, 0xb2, 0xc7, 0xb2, 0xc6, 0xaa, 0xc6, 0xaa,
    0xa6, 0xaa, 0x86, 0xa2, 0x65, 0xa2, 0x45, 0xa2, 0x25, 0x9a, 0x04, 0x9a, 0x04, 0x92, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xa2, 0x89, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x24, 0x9a, 0x45, 0x9a, 0x65, 0xa2, 0x86, 0xa2, 0xa6, 0xa2, 0x65, 0xa2, 0x9e, 0xf7, 0x5d, 0xef, 0xc7, 0xb2, 0xc7, 0xb2, 0xc6, 0xaa, 0xc6, 0xaa,
    0xa6, 0xaa, 0xa6, 0xa2, 0x85, 0xa2, 0x65, 0xa2, 0xcc, 0xab, 0x9e, 0xf7, 0x33, 0xc5, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x04, 0x92, 0x24, 0x92, 0x45, 0x9a, 0x65, 0x9a, 0x85, 0xa2, 0x65, 0xa2, 0x9e, 0xf7, 0x5d, 0xef, 0xfb, 0xde, 0x9a, 0xd6, 0xc7, 0xb2, 0xc7, 0xb2, 0xc6, 0xaa,
    0xc6, 0xaa, 0xa6, 0xaa, 0x85, 0xa2, 0xb5, 0xd5, 0x9e, 0xf7, 0x3c, 0xe7, 0xfb, 0xde, 0x79, 0xce, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe4, 0x91, 0x04, 0x92, 0x24, 0x9a, 0x45, 0x9a, 0x65, 0xa2, 0x9e, 0xf7, 0x5d, 0xef, 0xb6, 0xbd, 0x9a, 0xd6, 0x38, 0xc6, 0xc6, 0xb2, 0xc7, 0xb2, 0xe6, 0xaa,
    0xc6, 0xaa, 0xa6, 0xaa, 0xa6, 0xa2, 0x9e, 0xf7, 0x3c, 0xe7, 0xb6, 0xb5, 0x79, 0xce, 0x38, 0xc6, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0x04, 0x92, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xed, 0xb3, 0xe3, 0x89, 0x04, 0x92, 0x24, 0x92, 0x45, 0x9a, 0x65, 0x9a, 0x5d, 0xef, 0x41, 0x10, 0x20, 0x00, 0x20, 0x00, 0xd7, 0xbd, 0x12, 0xbd, 0xc7, 0xb2, 0xc7, 0xb2,
    0xc6, 0xaa, 0xc6, 0xaa, 0xa6, 0xaa, 0x3c, 0xe7, 0xae, 0x7b, 0x20, 0x00, 0x61, 0x20, 0xd7, 0xbd, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xc3, 0x89, 0xe3, 0x89, 0xe4, 0x91, 0x04, 0x92, 0x24, 0x9a, 0x45, 0x9a, 0xfb, 0xde, 0x20, 0x00, 0x20, 0x00, 0x20, 0x00, 0x75, 0xad, 0xd1, 0xb4, 0xc7, 0xb2, 0xc7, 0xb2,
    0xc6, 0xaa, 0xc6, 0xaa, 0xa6, 0xaa, 0xfb, 0xde, 0x41, 0x08, 0x20, 0x00, 0x20, 0x00, 0x75, 0xad, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xc3, 0x89, 0xc3, 0x89, 0xe3, 0x89, 0x04, 0x92, 0x24, 0x92, 0x45, 0x9a, 0x9a, 0xd6, 0x20, 0x00, 0x20, 0x00, 0x20, 0x00, 0x34, 0xad, 0xc6, 0xaa, 0xc7, 0xb2, 0xc7, 0xb2,
    0xc7, 0xb2, 0xc6, 0xaa, 0xc6, 0xaa, 0x9a, 0xd6, 0x20, 0x00, 0x20, 0x00, 0x00, 0x00, 0x34, 0xa5, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0x1c, 0xef, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xa3, 0x81, 0xc3, 0x89, 0xe3, 0x89, 0xe4, 0x91, 0x04, 0x92, 0x24, 0x9a, 0x66, 0x9a, 0x62, 0x79, 0x20, 0x00, 0x82, 0x89, 0xf3, 0x9c, 0xc6, 0xaa, 0xc7, 0xb2, 0xe6, 0xb2,
    0xe6, 0xb2, 0xc6, 0xaa, 0xc6, 0xaa, 0x38, 0xc6, 0x82, 0x89, 0x20, 0x00, 0x82, 0x81, 0x13, 0xa5, 0x24, 0x9a, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xab, 0xb3, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xa3, 0x81, 0xc3, 0x89, 0xc3, 0x89, 0xe4, 0x91, 0x04, 0x92, 0x24, 0x92, 0x45, 0x9a, 0x6a, 0xab, 0x91, 0xa4, 0xf4, 0x9c, 0x86, 0xa2, 0x86, 0xa2, 0x40, 0x30, 0xe2, 0x40,
    0xa1, 0x40, 0x61, 0x30, 0x65, 0xa2, 0x85, 0xa2, 0x54, 0xb5, 0x71, 0x9c, 0xf3, 0xac, 0x45, 0x9a, 0x24, 0x9a, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0x45, 0x9a, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xa3, 0x81, 0xa3, 0x89, 0xc3, 0x89, 0xe3, 0x89, 0xe4, 0x91, 0x04, 0x92, 0x24, 0x9a, 0x45, 0x9a, 0x44, 0x9a, 0x24, 0x9a, 0x04, 0x9a, 0x04, 0x9a, 0x61, 0x30, 0x61, 0x30,
    0x61, 0x30, 0x61, 0x30, 0x24, 0x9a, 0x04, 0x9a, 0x04, 0x9a, 0x24, 0x9a, 0x45, 0x9a, 0x45, 0x9a, 0x45, 0x9a, 0x24, 0x9a, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0x4e, 0xbc, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xa3, 0x81, 0xa3, 0x81, 0xc3, 0x89, 0xc3, 0x89, 0xe4, 0x89, 0xe4, 0x91, 0x04, 0x92, 0x03, 0x92, 0x03, 0x9a, 0xcb, 0xdc, 0xeb, 0xe4, 0x0b, 0xe5, 0x61, 0x30, 0x20, 0x10,
    0x20, 0x00, 0x61, 0x30, 0x0b, 0xe5, 0x0b, 0xe5, 0xeb, 0xdc, 0x49, 0xd4, 0x03, 0x9a, 0x04, 0x9a, 0x24, 0x9a, 0x24, 0x9a, 0x04, 0x9a, 0xe4, 0x91, 0xe4, 0x91, 0xe4, 0x91, 0xdf, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xa3, 0x81, 0xa3, 0x81, 0xa3, 0x89, 0xc3, 0x89, 0xe3, 0x89, 0xe3, 0x91, 0xe3, 0x91, 0xcb, 0xdc, 0x0b, 0xe5, 0x0c, 0xe5, 0x2c, 0xe5, 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, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x2c, 0xe5, 0x0c, 0xe5, 0xcb, 0xdc, 0xcb, 0xdc, 0x0b, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x2d, 0xe5, 0xc4, 0x99,
    0x81, 0x80, 0xeb, 0xdc, 0x2c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x0c, 0xe5, 0xeb, 0xe4, 0xca, 0xdc, 0xeb, 0xe4, 0x0c, 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x2c, 0xe5, 0x0c, 0xe5, 0xeb, 0xe4, 0xca, 0xdc, 0xeb, 0xe4, 0x0b, 0xe5, 0x0c, 0xe5, 0x00, 0x88, 0x00, 0x78, 0x00, 0x78,
    0x00, 0x78, 0x00, 0x78, 0x00, 0x88, 0x0c, 0xe5, 0x0c, 0xe5, 0x0b, 0xe5, 0xcb, 0xe4, 0xcb, 0xdc, 0x0b, 0xe5, 0x0c, 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x2d, 0xe5, 0x2c, 0xe5, 0x0c, 0xe5, 0xeb, 0xe4, 0xcb, 0xdc, 0xca, 0xdc, 0x00, 0x88, 0x6c, 0xf2, 0x6c, 0xf2,
    0x6c, 0xf2, 0x6c, 0xf2, 0x00, 0x88, 0xcb, 0xdc, 0xca, 0xdc, 0xeb, 0xe4, 0x0b, 0xe5, 0x0c, 0xe5, 0x2c, 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x2c, 0xe5, 0x2c, 0xe5, 0x0c, 0xe5, 0x0b, 0xe5, 0x0b, 0xe5, 0xcd, 0xf2, 0x6c, 0xf2,
    0x6c, 0xf2, 0x4b, 0xf2, 0xeb, 0xdc, 0x0b, 0xe5, 0x0c, 0xe5, 0x0c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7c, 0xff, 0x2c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x0c, 0xe5,
    0x0c, 0xe5, 0x0c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0x2c, 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xaf, 0xe5, 0x2c, 0xe5,
    0x2c, 0xe5, 0x6e, 0xe5, 0x19, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
};
extern const unsigned char EDA_png[];
static SC_img_t test_png=
{
    .map=EDA_png,
    .w=32,
    .h=32,

};

void show_zip_demo()
{
    extern const SC_img_zip bg14_zip;

    extern const SC_img_t bg14_img;
    //pfb.
    do
    {
        SC_pfb_clip(&pfb,0,0,LCD_SCREEN_WIDTH-1,LCD_SCREEN_HEIGHT-1,gui->bkc);
        SC_pfb_Image(&pfb,0,0,&test_png);
        SC_pfb_Image(&pfb,0,100,&bg14_img);              //图片
    }while(SC_pfb_Refresh(&pfb,0)&& 1);
    SC_Show_Image_zip(80,0,&bg14_zip,0);
    //SC_pfb_Image(NULL,0,0,&test_png);
}

